import request from "@/utils/request";

export default {
  getGoodsRecordList(searchModel, productId) {
    return request({
      url: "/goodsRecord/list",
      method: "get",
      params: {
        productId: productId,
        pageNo: searchModel.pageNo,
        pageSize: searchModel.pageSize,
      },
    });
  },

  deleteGoodsRecordById(id, qz_token) {
    return request({
      url: `/goodsRecord/${id}`,
      method: "delete",

      data: qz_token,
    });
  },
};
